import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import fastclick from 'fastclick'
import VueLazyLoad from "vue-lazyload"
// import VConsole from 'vconsole'

import 'common/stylus/index.styl'

// new VConsole({ maxLogNumber: 5000 }); 

Vue.config.productionTip = false

Vue.use(VueLazyLoad,{
  loading: require("common/image/default.png")
})

fastclick.attach(document.body)

var root = process.env.API_ROOT

Vue.prototype.$actionURL = root

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App),
  router,
  store
})
